package cn.iocoder.yudao.module.erp.controller.admin.business.produce.defectiveitems.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 不良品项新增/修改 Request VO")
@Data
public class DefectiveItemsSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编号不能为空")
    private String defectCode;

    @Schema(description = "不良品项", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "不良品项不能为空")
    private String defectDescription;

}